package com.zyk.scaffold.user.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zyk.scaffold.user.controller.tenantuser.TenantUserInfosResp;
import com.zyk.scaffold.user.controller.tenantuser.TenantUserPageFilterRequ;
import com.zyk.scaffold.user.entity.TenantUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 租户-用户-部门关系 Mapper 接口
 * </p>
 *
 * @author zhouyk
 * @since 2022-11-04
 */
public interface TenantUserMapper extends BaseMapper<TenantUser> {

    Page<TenantUserInfosResp> selectUserPageFilter(Page toPage, @Param("filter") TenantUserPageFilterRequ filter);
}
